requirejs.config({
    shim: {
        'underscore' : {
            exports : '_',
        },
        'backbone': {
            //These script dependencies should be loaded before loading
            //backbone.js
            deps: ['underscore', 'jquery'],
            //Once loaded, use the global 'Backbone' as the
            //module value.
            exports: 'Backbone'
        },
        'async' : {
            exports : 'async',
        },
        'jquery' : {
        	exports : '$',
        },
    }
});
require(['jquery','user'],function($,user){
	$(document).ready(function(){
        user.login();
	});
});